package com.happe.foodeasy.manage.service;

import com.happe.foodeasy.manage.dto.PositionImageDTO;

import java.util.List;

public interface PositionImageService {
    void storePositionImage(PositionImageDTO positionImageDTO);

    List<PositionImageDTO> selectByPositionAndStatus(long position, long status);

    PositionImageDTO selectById(long imageId);

    /**
     * 该方法用于根据图片的id获得相应图片的byte
     * @param imageId 目标图片的id
     * @return byte数组的对象
     */
    PositionImageDTO selectTargetByteById(long imageId);
}
